function submitFeedBack(){
    var content = $("#content").val();
    var name = $("#name").val();
    var theme = $("#theme").val();
    var protocol = window.location.protocol;
    var host = window.location.host;
    layer.confirm('确定提交吗?',
        {icon: 3, title: '系统提示'},
        function (index) {
            $.ajax({
                type : 'POST',
                url : '/submitFeedBack',
                data : {content:content,name:name,theme:theme},
                success:function (data) {

                    if (data == "OK"){
                        layer.msg('提交成功', {
                            icon: 1,
                            shadeClose: true,
                            skin: 'layui-layer-molv',
                            time: 2000 //2秒关闭（如果不配置，默认是3秒）
                        }, function(){
                            window.location.href = protocol+"//"+host+"/index";
                        });
                    }else {
                        layer.open({
                            title: '提示信息',
                            anim: 0,
                            resize:false,//是否可以拉伸  默认true
                            icon: 2,
                            shadeClose: true,
                            skin: 'layui-layer-molv',
                            content: data
                        });
                    }
                },
                error: function (e) {
                    console.log(e)
                }
            });
            layer.close(index);
        });
}